package com.hrs.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author 摆渡人
 * @description
 * @date 2022/12/6 14:36
 */
@Getter
public enum Type {
    NATIONALITY(0,"国籍"),
    NATION(1,"民族"),
    POLITICS(2,"政治面貌"),
    EDU(3,"学历"),
    FAITH(4,"宗教信仰");

    @EnumValue
    private final Integer code;
    private final String display;

    Type(Integer code, String display) {
        this.code = code;
        this.display = display;
    }
}
